package com.itheima.service;

import com.itheima.domain.store.Company;

import java.util.List;
//Company业务层
public interface CompanyService {
    //查找所有(分页)
    List<Company> findAll(String pageNum,String pageSize);
    //查找所有(不分页)
    List<Company> list();
    //新增
    void save(Company company);
    //删除
    boolean deleteByIds(String id);
    //根据id查找对象并返回对象
    Company findById(String id);
    //更新
    void update(Company company);


}
